package service;

import entity.User;

import java.util.List;

public interface UserService {
    boolean customerLogin(Integer id,String passWord);
    boolean administratorLogin(Integer id,String passWord);
    boolean sellerLogin(Integer id,String passWord);
    boolean registerUser(User user);
    boolean insertUser(User user);
    boolean deleteUserById(Integer id);
    boolean updateUserById(Integer id,User user);
    User selectUserById(Integer id);
    User selectUserByUserName(String userName);
    List<User> selectAllUser();
}
